package Vue;

import org.newdawn.slick.*;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ivelios
 */
public class MiniCarte implements IElementGraphique{

    private int width;
    private int heigth;

    public MiniCarte(int width, int heigth) {
        this.width = width;
        this.heigth = heigth;
    }


    public void init(GameContainer container) throws SlickException {


    }

    public void render(GameContainer gc, Graphics g) {
        g.setColor(Color.red);
        g.fillRect(gc.getWidth()-width, 0, width, heigth);
    }


    public void update(GameContainer gc, int delta) {



    }
}
